<div class="album">
        <h1>Thư viện ảnh</h1>
        <div class="list_album">
            <ul>
                <?php
                foreach ($albums as $album):
                    $uri = base_url() . 'thu-vien-anh/' . url_title($album->name, 'dash', TRUE) . '-' . $album->id;
                    ?>
                    <li>
                        <a href="<?php echo $uri; ?>"><img src="/images/albums/<?php echo $album->image_name; ?>"/></a>
                        <br/>
                        <span><a href="<?php echo $uri; ?>"><?php echo $album->name;?></a></span>
                    </li>
                <?php endforeach; ?>
            </ul>
        </div>
</div>